'use strict';
const TsconfigPathsPlugin = require('tsconfig-paths-webpack-plugin');

module.exports = () => {
  return {
    resolve: {
      modules   : [
        'node_modules'
      ],
      extensions: ['.mjs', '.js', 'jsx', '.ts', '.tsx'],
      plugins   : [
        new TsconfigPathsPlugin({})
      ]
    }
  };
};
